import React, { Component } from 'react'
// import './MyComponent1.less'
import StorageComponent from 'UTIL/HoC/StorageComponent'

class App extends Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  componentWillReceiveProps(nextProps) {
    console.log(nextProps, 11111)
  }
  componentDidMount() {
    console.log(22222)
  }
  render() {
    console.log(this.props, 1)
    var { storage } = this.props
    console.log(storage, 2)
    return <div className="tederen-MyComponent1">
      {storage.count}
    </div>
  }
}

export default StorageComponent(App)
